
package Seity;

/**
 * The MessageVO class: This JavaBean models the data of the search message form.
 * @author WanRu
 * @version 1.0
 */
public class MessageVO 
{
    /*  The default value of keyword is null.   */
    private String keyword = null;
    
    /*  The default values of category and subCategory are both 0.  */
    private String category = "0", subCategory = "0";
    
    /*  The default value of id is null.    */
    private String id = null;    
    
  /**
     * Set the value of keyword
     * @param keyword
     */
    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }
    
  /**
     * Set the value of Category
     * @param category
     */
    public void setCategory(String category)
    {
        this.category = category;
    }
    
  /**
     * Set the value of SubCategory
     * @param subCategory
     */
    public void setSubCategory(String subCategory)
    {
        this.subCategory = subCategory;
    }
    
  /**
     * Set the value of id
     * @param id
     */
    public void setID(String id)
    {
        this.id = id;
    }    

  /**
     * Return the keyword
     * @return 
     */
    public String getKeyword()
    {
        return this.keyword;
    }
    
  /**
     * Return the Categroy
     * @return 
     */
    public String getCategory()
    {
        return this.category;
    }
    
  /**
     * Return the subCategory
     * @return 
     */
    public String getSubCategory()
    {
        return this.subCategory;
    }
     
  /**
     * Return the id
     * @return
     */
     public String getID()
     {
         return this.id;
     }
     
    
}
